package com.kgcx.organization.vo;

import com.kgcx.common.annotation.dict.Dict;
import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "司机(简要信息)")
public class DriverVO extends BaseDomain {

    public static final String DEFAULT_PASSWORD = "123456";

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像图片id", required = true, example = "649c38917ae84d5a9ab0ec97a4649328")
    private String headImg;

    /**
     * 车辆id
     */
    @ApiModelProperty(value = "车辆", example = "1")
    private Long autoId;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号", example = "湘A99999")
    private String autoNo;

    /**
     * 名字
     */
    @ApiModelProperty(value = "名字", required = true, example = "周杰伦")
    private String name;


    /**
     * 电话
     */
    @ApiModelProperty(value = "电话", required = true, example = "13023457687")
    private String phone;

    /**
     * 驾驶证号码
     */
    @ApiModelProperty(value = "驾驶证号码", required = true, example = "430236188711173267")
    private String licenseId;

    /**
     * 性别，0=未知，1=男，2=女，9=未说明,字典：gender
     */
    @ApiModelProperty(value = "性别，0=未知，1=男，2=女，9=未说明,字典：gender", required = true, example = "1")
    private String gender;


    /**
     * 车品牌
     */
    @ApiModelProperty(value = "车品牌", readOnly = true, example = "宝马")
    private String autoBrand;


    /**
     * 车型
     */
    @ApiModelProperty(value = "车型", readOnly = true, example = "5系")
    private String autoModel;

    /**
     * 颜色id,字典:plateColor
     */
    @ApiModelProperty(value = "颜色id,字典:plateColor", readOnly = true, example = "1")
    private String vehicleColor;

    /**
     * 车颜色
     */
    @ApiModelProperty(value = "车颜色", readOnly = true, example = "黑色")
    @Dict(type = "vehicleColor", fieldName = "vehicleColor")
    private String vehicleColorValue;

    /**
     * 性别，0=未知，1=男，2=女，9=未说明,字典：gender
     */
    @ApiModelProperty(value = "性别，0=未知，1=男，2=女，9=未说明,字典：gender", readOnly = true, example = "男")
    @Dict(type = "gender", fieldName = "gender")
    private String genderValue;
}